home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gth035.zip / MAILBAT.HLP < prev    next >
Text File  |  1990-06-30  |  10KB  |  216 lines

  1.  
  2. ╔═════════╦════════════════════════════════════════════════════════════
  3. ║ GT-HELP ║ NETMAIL.BAT - the batch file that drives Netmail
  4. ╚═════════╩════════════════════════════════════════════════════════════
  5.  
  6.  
  7.     The netmail batch file NETMAIL.BAT is generally executed by a QUIT
  8.     statement in the SCHEDULE.BBS.  This works in conjunction with an
  9.     ERRORLEVEL test in the HOST.BAT file which starts off GT in host mode.
  10.  
  11.     Usually it executes :
  12.  
  13.         MBAGGER     to bag your outgoing mail
  14.  
  15.                     Note:   it is often recommended to omit MBAGGER from
  16.                             this run and to execute it manually after
  17.                             reading user-entered messages, which allows you
  18.                             to ensure that unsuitable or misplaced messages
  19.                             do not enter the network via your system.
  20.  
  21.         MDRIVER     the main netmail program
  22.  
  23.         MDIST       to distribute any incoming mail.
  24.  
  25.         QCVT        optional, to generate Q bags from E or vice versa.
  26.  
  27.                     Note:   You only need to execute this program if you
  28.                             have other callers collecting bags from you.
  29.                             MDIST will happily process whatever bags it
  30.                             receives.
  31.  
  32.     CONCOPY (by C J Dunford) is a useful program to run during the netmail
  33.     slot, allowing you to save the screen output from the netmail session
  34.     to look at during the day.  This example assumes you have it - just
  35.     delete the first two parameters of affected commands if you do not.
  36.  
  37.  
  38. ┌───────────────────────┐
  39. │ Constructing the file │
  40. └───────────────────────┘
  41.  
  42.     You should always begin by setting a constant netmail drive.  This is
  43.     the drive where the netmail system creates \mailin, \mailout and
  44.     \mailwork. Expect general confusion and lost mail if it isn't the same
  45.     every time.
  46.  
  47.     C:
  48.         * establishes drive for netmail directories
  49.         *
  50.     DEL CONCOPY.OUT
  51.         * deletes yesterday's saved output - or you could rename it and zip
  52.         *   it up for later study.
  53.         *
  54.         *
  55.         *                  ┌──────────────── Name of MBAGGER
  56.         *                  │     ┌────────── Generate Q bags Only
  57.         *                  │     │   ┌────── Keep lower case in origin line
  58.         *               ───┴─── ─┴─ ─┘
  59.     concopy concopy.out MBAG412 /QO /L
  60.         *
  61.         * Other switches to consider for MBAGGER (valid with 412):
  62.         *
  63.         *   /CA     Suppress both .FR and .DX requests.  As if you had both /CF and
  64.         *               /CD on the command line at the same time.
  65.         *   /CD     Suppress all .DX requests encountered during the bagging run.
  66.         *   /CF     Suppress all .FR requests encountered during the bagging run.
  67.         *
  68.         *   /Dnn    Specifies number of days to retain echos (default nn=14)
  69.         *
  70.         *   /Knn    Secret encryption code for use with .CY - see ADDENDUM.NET.
  71.         *           The 'nn' should be be a unique number between 1 and 65535.
  72.         *
  73.         *   /NL     No GBag Logging.
  74.         *
  75.         *   /OC     Use this if (and only if) you are running GT14.
  76.         *
  77.         *   /Q      Generates Q bags *and* E bags (E bags are larger and therefore
  78.         *               only of interest to people who cannot use Q bags).
  79.         *
  80.         *   /Tm:n   Redial timing for PC-Pursuit.  See ADDENDUM.NET.
  81.         *
  82.         *   /VG     Lists GCONSOLE.CTL (echos you consolidate to others).
  83.         *
  84.         *   /Zn     Use PKZIP (rather than PKARC) to pack mailbags.  N=1 to 4
  85.         *               determines compression level (used in PKZIP 0.9x only).
  86.         *               Use only if recipient requests it.
  87.         *
  88.         * Other switches - mainly used for "supplementary" bagging runs :
  89.         *
  90.         *   /G      Do not bag new messages, just consolidate (generally used
  91.         *               after MDIST /G in G_UNPAK.BAT).
  92.         *
  93.         *   /N      Bags up sponsored echos for the next day - but can cause
  94.         *           a problem if you are consolidating echos.
  95.         *
  96.         *   /NP     No pruning - does not delete old echo bags (useful if
  97.         *               you bag more than once a day).
  98.         *
  99.         *   /R:xxxx Uses an alternative routing file (default ROUTING.BBS).
  100.         *           Note: Use the .RTG suffix if you wish use GT-HELP with it.
  101.         *
  102.         *   /X      Omits sponsored echos (it used to be essential if you bagged
  103.         *               more than once a day, though these now seem to be skipped
  104.         *               automatically if todays Q bag already exists).
  105.         *
  106.         *
  107.         *                  ┌────────────────────────────── Name of Mail Driver
  108.         *                  │         ┌──────────────────── your netmail CRC
  109.         *                  │         │       ┌──────────── netmail start time
  110.         *                  │         │       │    ┌─────── time to finish
  111.         *                  │         │       │    │    ┌── latest call time
  112.         *               ───┴──── ────┴──── ──┴─ ──┴─ ──┴─
  113.     concopy concopy.out MDRIV047 ABCD-1234 0400 0500 0455 (cont'd...)══╗
  114.         *                                                              ║
  115.         * ╔════════════════════════════════════════════════════════════╝
  116.         * ║
  117.         * ║   ┌───────── If you support Bimodem
  118.         * ║   │  ┌────── If you support Zmodem (ZC=DSZ.COM, or ZE=DSZ.EXE)
  119.         * ║   │  │    ┌─ Min fallback
  120.         * ║  ─┘ ─┴─ ──┴───
  121.         * ╚═ /I /ZC /M2400
  122.         *
  123.         * Other command line switches to consider for MDRIVER (valid with 047):
  124.         *
  125.         *   /Bnn        Fallback limit for PC-Pursuit.  See ADDENDUM.NET.
  126.         *
  127.         *   /Dnn        Days before undeliverable mail becomes "stale".
  128.         *
  129.         *   /En         Error limit - abandon session if n errors occur.
  130.         *
  131.         *   /G          Execute G_UNPAK.BAT file whenever a consolidated bag rcvd
  132.         *
  133.         *   /H:xxxx     Names a file to be displayed to human callers.
  134.         *
  135.         *   /I          Allow bimodem transfers
  136.         *
  137.         *   /Innnn      Use bimodem only if at or below specified speed, eg 2400
  138.         *
  139.         *   /Ln         Limit to n attempted calls per destination.
  140.         *
  141.         *   /OW         Use Outbound Windows (place calls according to a schedule)
  142.         *
  143.         *   /P          Point nodes (xxx/9xx) can be called.  Normally, points
  144.         *                   are expected to call you.
  145.         *
  146.         *   /Q          Quit when all outgoing calls have been completed
  147.         *                   (make sure your SCHEDULE.BBS time range does not cause
  148.         *                   the netmail batch to be re-executed).
  149.         *
  150.         *   /ZC         Allow Zmodem transfers, using %GTPATH%\DSZ.COM
  151.         *
  152.         *   /ZE         Allow Zmodem transfers, using %GTPATH%\DSZ.EXE
  153.         *
  154.         * Options not normally used in main NETMAIL.BAT, but may be useful
  155.         *   in a supplementary netmail run :
  156.         *
  157.         *   /CA%3       Answer a crashmail call.  Only appropriate in GTCRASH.BAT.
  158.         *
  159.         *   /CC         Outgoing Crash Call.  Call only nodes asterisked in nodelist.
  160.         *
  161.         *   /R:xxxx     Uses an alternative routing file (default ROUTING.BBS).
  162.         *               Note: Use the .RTG suffix if you wish use GT-HELP with it.
  163.         *
  164.         *   /NC         Crash calls to be answered but not accepted
  165.         *   /NL         No answering - sysop local (press return to continue)
  166.         *   /NR         No answering - sysop absent (continue session after 30 secs)
  167.         *
  168.         *   /NOW        Alternative to start time when making outgoing crash calls
  169.         *
  170.         *   /Qnnn-nnn   Process work only for node nnn/nnn.  Note the hyphen.
  171.         *                   This only works if there is mail to go, or an OUTBOUND.
  172.         *                   You wouldn't want to do this in your NETMAIL.BAT, but
  173.         *                   you might use it for an outgoing crash call.
  174.         *
  175.         *
  176.         *                   ┌─────────── Name of MDIST program
  177.         *                   │     ┌───── No remote attaches
  178.         *               ────┴─── ─┴─
  179.     concopy concopy.out MDIST412 /NA
  180.         *
  181.         * Other switches to consider on MDIST command (valid with 412):
  182.         *
  183.         *   /Knn        Decryption code for cyphered messages.  See ADDENDUM.NET.
  184.         *
  185.         *   /NL         No Gbag Log.
  186.         *
  187.         *   /NR         .GL command lists only echos which the requester receives
  188.         *
  189.         *   /OC         Use this if (and only if) you are running GT14.
  190.         *
  191.         *   /SA         Save incoming B + G bags in MAILARC.ARC (gets huge quickly)
  192.         *   /SB         Save incoming B bags in MAILARC.ARC
  193.         *   /SG         Save incoming G bags in MAILARC.ARC
  194.         *
  195.         *   /V          Verbose listing of G bag contents in GBAG.LOG
  196.         *
  197.         *   /VG         Lists GCONSOLE.CTL (echos you consolidate to others).
  198.         *
  199.         * Other switches that might be appropriate when running MDIST after
  200.         *   supplementary netmail sessions:
  201.         *
  202.         *   /G          Break down consolidated bags ONLY - do not distribute.
  203.         *               Generally used only in G_UNPAK.BAT (executed from MDRIV)
  204.         *
  205.         *   /R:xxxx     Uses an alternative routing file (default ROUTING.BBS).
  206.         *               Note: Use the .RTG suffix if you wish use GT-HELP with it.
  207.         *
  208.         *                  ┌─────────── Name of Q converter
  209.         *                  │    ┌────── Create Q bags from E bags
  210.         *              ────┴── ─┘
  211.     concopy concpy.out QCVT105 /Q
  212.         *
  213.         * Optional switch /E    create E bags from Q bags (obsolescent).
  214.         *
  215.  
  216.